~:extend('edit')~

	~[right]~

        <div class="span9">
          <div class="hero-unit" style="padding:20px;">
          	
            ~foreach ($data.RESULT as $result):~

            <form name="myform" class="form-signin" action="~~:url(:escape($page.path))~?wid=~~:escape($result.wid)~" method="post">
              <strong><span class="lead">题目:</span></strong>&nbsp;&nbsp;  ~~Morrow\Formhtml::getElement('myform', 'title', array("class"=> "input-xlarge","value"=> :escape($result.title)));~ 
              <p align="right">~~Morrow\Formhtml::getError('myform', 'title');~ </p>
              ~~Morrow\Formhtml::getElement('myform', 'content', array("class"=> "", "dtype"=>"textarea","value"=> :raw($result.content)));~
              <br/>
              <button class="btn btn-success" type="submit">提交</button>
            </form>

            ~endforeach~
            <script>

              CKEDITOR.replace( 'mw_myform_content' );

             </script>
            

          </div>
   
        
        </div><!--/span-->
	~[/right]~